package com.weng.bigdata.micro.service.message.center.model;

import lombok.Data;

/**
 * 用于发送MQ消息的详细内容
 *
 * @author wengzhonghui
 * @date: 2021-06-24 17:44:33
 */
@Data
public class MqMessageContentDto {

    /**
     * 消息id
     */
    private String messageId;

    /**
     * Mq消息类型
     */
    private String mqMsgType;

    /**
     * 消息内容
     */
    private Object content;

    /**
     * 消息来源appCode
     */
    private String appCode;

    @Override
    public String toString() {
        return "MqMessageContentDto{" +
                "messageId='" + messageId + '\'' +
                ", mqMsgType='" + mqMsgType + '\'' +
                ", content=" + content +
                ", appCode='" + appCode + '\'' +
                '}';
    }
}